home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / GRAPTIES / SD204.LZH / SDESIGN.EXE / SD277.TXT < prev   
Text File  |  1989-07-08  |  42KB  |  891 lines

  1.  
  2.  
  3.  
  4.         
  5.         
  6.                                                      7/8/89
  7.         
  8.         
  9.         
  10.                                  Screen Designer
  11.                                   Version 2.77
  12.         
  13.         
  14.         
  15.                          Copyright (C) 1987, 1988, 1989
  16.                                        by
  17.                                 Michael W. Cocke
  18.         
  19.         
  20.         
  21.                       A Tool for Designing Screen Displays
  22.         
  23.         
  24.         
  25.             This program is being distributed under the `shareware' 
  26.             concept. You are freely encouraged to copy and distribute 
  27.             this program, provided that no changes are made to either the 
  28.             program or the documentation. This means that you can down-
  29.             load this program from a bulletin board, get it through a 
  30.             mail order house, or copy it from a friend.  If you don't 
  31.             find it worthwhile, you won't have risked anything.  But, if 
  32.             you do find it useful, all I ask is that you send me a check 
  33.             for just $10.00.  This buys you to a new copy of the program, 
  34.             WITH ALL updates.  It will also buy you some peace of mind.  
  35.             I'm one person, not a giant software company, and the check 
  36.             you send may make the difference between feeding my cat this 
  37.             week and not feeding my cat this week.
  38.         
  39.         
  40.                          Please send a check for $10.00 to:
  41.         
  42.                                     Michael Cocke
  43.                                     11 Cedar Road
  44.                                     Montville NJ  07045
  45.                                             
  46.                                                Thank You,
  47.                                                       Mike
  48.                    
  49.         
  50.                                  Hacker Central BBS
  51.                                     (201)334-2555 
  52.                                300/1200/2400 baud  8N1  
  53.                                       24 hours.
  54.                                                
  55.         
  56.         
  57.             ---> Royalty-FREE Source code available for $100.00 (U.S.) <---
  58.                                  Write for details.
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.         
  66.         
  67.         
  68.         
  69.         
  70.             Technical support, upgrades and requests available upon payment of 
  71.                           $ 10.00 (U.S.) registration fee.
  72.         
  73.         
  74.             What is SCREEN DESIGNER:
  75.         
  76.                  SCREEN DESIGNER is a program created to aid you in 
  77.                  designing and producing screens for batch files, pro-
  78.                  grams, and, if you have the right printer, title pages 
  79.                  for word processor documents and spreadsheets.
  80.         
  81.                  Screen Designer was especially designed for programmers.  
  82.                  Whether you program in BASIC, Dbase or C, probably the 
  83.                  worst part of the job is 'prettifying' the screens.  
  84.                  Screen Designer has a programmer's interface that allows 
  85.                  you to draw the screen image you want, and then export 
  86.                  it (formatted properly !) into your source code.  I 
  87.                  originally wrote Screen Designer because I work in 3-4 
  88.                  different languages, and the only common denominator is 
  89.                  that graphics is DAMNED difficult in all of them. 
  90.         
  91.                  The graphics that SCREEN DESIGNER creates can be used on 
  92.                  color or monochrome video systems, and on IBM (tm) 
  93.                  compatible graphics printers.
  94.         
  95.                  To give you an idea of some of the uses of SCREEN DE-
  96.                  SIGNER, all of the help screens and title pages embedded 
  97.                  in the Screen Designer program were created using the 
  98.                  program. 
  99.         
  100.         
  101.             How to run SCREEN DESIGNER:
  102.         
  103.                  SCREEN DESIGNER was designed to work on a monochrome, 
  104.                  CGA, EGA or PGA equipped IBM (tm) compatible computer, 
  105.                  with at least 512K Ram and one floppy disk drive.
  106.         
  107.                  Late Note: Screen Designer also works in >ALL< VGA 
  108.                  MODES.
  109.         
  110.                  To run the program, all you need to do is type 'SD' at 
  111.                  the DOS prompt, and press <ENTER>.
  112.         
  113.                  There are two command line options available.  If you 
  114.                  wish SCREEN DESIGNER to run in monochrome mode, type 'SD 
  115.                  M'.  If you wish to run SCREEN DESIGNER in color mode, 
  116.                  type 'SD C'.  If you don't do either, SCREEN DESIGNER 
  117.                  will look at your hardware and make its best guess.
  118.         
  119.         
  120.                  Note:  The graphics produced will still work on any type 
  121.                  of video, the above discussion refers only to how you 
  122.                  run it on your computer.
  123.         
  124.                  The second option is the ability to put the name of an 
  125.                  existing file that you wish to edit on the command line.  
  126.                  After the two opening screens display, this file will be 
  127.                  loaded just as if you had selected the load command from 
  128.                  the file sub-menu.  
  129.         
  130.         
  131.             How to use SCREEN DESIGNER:
  132.         
  133.                  The Main Editor Screen
  134.         
  135.                    This is the screen where you do the actual drawing, 
  136.                    typing, etc. of your screen image.  In addition to all 
  137.                    of the function keys (explained below), the backspace, 
  138.                    insert, delete, tab, return, and cursor keys all work 
  139.                    normally.  The other keys that work here are:
  140.         
  141.                    <Alt>+<Insert>     Insert a new line at the current 
  142.                                       line.
  143.                    <Alt>+<Delete>     Delete the current line.
  144.         
  145.                    <Alt>+<C>          Center screen contents horizontal-
  146.                                       ly.
  147.                    <Ctrl>+<C>         Center current line contents hori-
  148.                                       zontally. 
  149.                       The horizontal center is a little subtle, since 
  150.                       boxes are multi-line constructs.  Rather than try 
  151.                       to explain what happens if there are two boxes of 
  152.                       different heights on the same set of lines,  I will 
  153.                       suggest you try it.  The insert and delete keys can 
  154.                       be used to modify the results, if desired.  You 
  155.                       might want to do some experimenting here.
  156.         
  157.                    <Alt>+<V>          Center screen contents vertically.
  158.         
  159.                    <Alt>+<R>          Pops up a ruler line on whatever 
  160.                                       line the cursor is currently on.  
  161.                                       This WILL NOT Destroy the screen 
  162.                                       contents.  To get rid of the ruler 
  163.                                       and restore your screen, do a 
  164.                                       'Screen Redraw'.
  165.         
  166.                    <CTRL>+<A>         Erase to the left of the curser.
  167.         
  168.                    <CTRL>+<S>         Erase to the right of the curser.
  169.         
  170.                    <CTRL>+<W>         Erase to the top of the curser.
  171.         
  172.                    <CTRL>+<Z>         Erase to the bottom of the curser.
  173.         
  174.         
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.                    In addition to the keys listed above, the following 
  182.                    keys are used with the 'box' capability.
  183.         
  184.                    <HOME>             Mark the upper left corner of a 
  185.                                       single line box.
  186.         
  187.                    <Ctrl>+<HOME>      Mark the upper left corner of a 
  188.                                       double line box.
  189.                    <Alt>+<HOME>       Mark the upper left corner of a
  190.                                       special box.
  191.         
  192.                    <Page Down>        Mark the lower right corner of 
  193.                                       all boxes.
  194.         
  195.                  Screen Wrap  
  196.         
  197.                    The screen wraps in all directions.  This means that 
  198.                    if you move the cursor off the right side of the 
  199.                    screen,  it will reappear on the left side,  one  line 
  200.                    down.   If  you  move the cursor off  the  top  of  the 
  201.                    screen,  it will reappear on the bottom of the  screen 
  202.                    in the same column.  The screen also wraps diagonally, 
  203.                    so  that  if you run the cursor off  the  lower  right 
  204.                    corner  of the screen, it will reappear in  the  upper 
  205.                    left corner.
  206.         
  207.                    It is NOT possible to edit more than one screen at a 
  208.                    time.  
  209.         
  210.         
  211.                  The Box Capability
  212.         
  213.                    There is a sophisticated auto-box routine built into 
  214.                    SCREEN DESIGNER, which will allow you to draw boxes of 
  215.                    many different sizes and styles.  All you need to do 
  216.                    is mark the upper left corner of where you want to 
  217.                    draw a box, using one of the <HOME> key combinations 
  218.                    listed above.  Then move the cursor to where you wish 
  219.                    the lower right corner of the box, and press <Page 
  220.                    Down>.  Presto, a box of the desired type and size! 
  221.         
  222.                    There are three separate box patterns available at any 
  223.                    time in SCREEN  DESIGNER. They are the SINGLE BOX, the 
  224.                    DOUBLE BOX and the SPECIAL BOX.  The single box is a 
  225.                    single line box (-).  The double box is a double line 
  226.                    box (=).  The special box is one of a number of possi-
  227.                    ble  patterns.   There are  eight  predefined  special 
  228.                    boxes  (that was the number of keys I had left  over), 
  229.                    and a user-defined option to allow you to set any type 
  230.                    of box pattern you might wish.
  231.         
  232.                    As of version 2.11, there is also an 'intersection 
  233.                    mode' to simplify making intersections in the lines 
  234.                    and boxes.  Tee intersections for all four sides are 
  235.                    supported, as are X type intersections (four way).  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.                    These are available in both one and two line patterns.  
  243.                    Mixed type patterns are not supported yet (I'm running 
  244.                    out of keys!).
  245.         
  246.                  The Function Keys
  247.                    SCREEN DESIGNER makes use of the programmable function 
  248.                    keys, F1-F10, in all of the sub-menu screens, as well 
  249.                    as in the main edit screen and the line draw screen.
  250.         
  251.                    Some of the function keys 'toggle' an effect.  In the 
  252.                    case of such a toggle key, the function key label (on 
  253.                    line 25 of the screen) will change to show what press-
  254.                    ing the key will do.  The labels always indicate what 
  255.                    pressing the key WILL do;  they do NOT show the cur-
  256.                    rent function of the key.
  257.         
  258.                                 Function Keys from the Main Edit Screen 
  259.                                 --------------------------------------- 
  260.                                 F1         Main Screen Help
  261.                                 F2         File Utilities Menu
  262.                                 F3         Character Utility Menu
  263.                                 F4         Programmers Utility
  264.                                 F5         Intersections
  265.                                 F6         Line Drawing Mode
  266.                                 F7         Screen Redraw
  267.                                 F8         Graphics Mode 
  268.                                 F9         Restart the Program
  269.                                 F10        Exit the Program
  270.         
  271.             F1 - HELP
  272.             ---------
  273.                  The F1 key ALWAYS displays a help screen. There are help 
  274.                  screens for each of the sub menus, the main edit screen, 
  275.                  and the line draw screen.
  276.         
  277.                  F2 - File Utilities Menu
  278.                  ------------------------
  279.                    The function keys that are used in this menu are:
  280.         
  281.                    F1            File Menu Help
  282.                    F2            File Load
  283.                    F3            File Save
  284.                    F4            Directory List
  285.                    F10           Return to the Main Edit Screen
  286.         
  287.         
  288.                  F1 - File Menu Help
  289.         
  290.                    This key is used to provide a quick reference to the 
  291.                    file menu.
  292.         
  293.                  F2 - File Load
  294.                    This key is used to load an already existing file for 
  295.                    further editing.
  296.                    After pressing F2, you will be asked to enter the 
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.                    filename you want to edit.  If you enter a filename 
  304.                    longer than 12 characters, you will be asked to try 
  305.                    again.  If you press <ENTER> without entering any 
  306.                    filename, you will be returned to the Main Editor 
  307.                    Screen.
  308.                    The files are saved as normal ASCII text files, so you 
  309.                    should be able to edit them with any word processor 
  310.                    that supports a plain ASCII mode (such as Wordstar (in 
  311.                    NON-document mode) or the editors in Turbo Pascal (tm) 
  312.                    or Quickbasic (tm)).
  313.         
  314.                  F3 - File Save
  315.                    This key is used to save a file that you have created. 
  316.                    After you have pressed F2, you will be asked to enter 
  317.                    the filename you want to save.  If you enter a file-
  318.                    name longer than 12 characters, you will be asked to 
  319.                    try again.  If you press <ENTER> without entering any 
  320.                    filename, you will be returned to the Main Editor 
  321.                    Screen.
  322.                    The files are saved as normal ASCII text files, so you 
  323.                    should be able to edit them with any word processor 
  324.                    that supports a plain ASCII mode (such as Wordstar (in 
  325.                    NON-document mode) or the editors in Turbo Pascal (tm) 
  326.                    or Quickbasic (tm)).
  327.         
  328.                  F4 - Directory List
  329.                    This key is used to list the files in the current 
  330.                    directory.  The display stops every 24 lines and 
  331.                    displays 'Press <ENTER> to continue'
  332.         
  333.                  F10 - Return to Main Editor Screen
  334.                    This key is used to return to the Main Edit Screen.
  335.         
  336.             F3 - Alternate Box
  337.             ------------------    
  338.                    This is how you design your 'special' box.  The menu 
  339.                    for  selecting  among the predefined  boxes  is  self-
  340.                    explanatory. The screen will display the different box 
  341.                    patterns  along  with a number for each  one.   Simply 
  342.                    press the corresponding number and the correct pattern 
  343.                    will be generated.
  344.         
  345.                    If the user-defined box option is chosen (number 8), a 
  346.                    new screen will appear.  The left side of the screen 
  347.                    shows a listing of keys with the corresponding charac-
  348.                    ter generated by each key.  The right side of the 
  349.                    screen prompts the user for the characters that will 
  350.                    make up the various corners and sides of the user-
  351.                    defined box.  Pressing <ENTER> after each selection 
  352.                    will move to the next prompt.
  353.         
  354.                    UL stands for Upper Left, UR stands for Upper Right, 
  355.                    LL is Lower Left, LR is Lower Right.  VS is the verti-
  356.                    cal Side and HS is the Horizontal Side.  These charac-
  357.                    ters are entered by typing the standard ASCII key 
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.                    shown to the left of the graphics characters on the 
  365.                    chart that is displayed on the screen.
  366.         
  367.         
  368.             F4 - Programmers Utility
  369.             ------------------------
  370.                    This is the function of the program that caused me to 
  371.                    write SCREEN DESIGNER.  I tend to write truly horrible 
  372.                    screen interfaces.  This is because, like many pro-
  373.                    grammers, I'm more concerned with the program than 
  374.                    with its appearance.  SCREEN DESIGNER is designed to 
  375.                    remedy those appalling interfaces.  I have tried to 
  376.                    make this function non-language specific, as I work in 
  377.                    several different programming languages.  As written, 
  378.                    this function is adequate for BASIC, C, Dbase and 
  379.                    PASCAL coding conventions.  I haven't tested any other 
  380.                    languages with it.  Suggestions and comments are 
  381.                    welcome.
  382.         
  383.                    The first question that you are asked is:
  384.                    'Screen type (P = Program Export, B = BBS Screen):'
  385.                    This performs the following;  If you answer this 
  386.                    question with a letter 'P', skip to the section marked 
  387.                    'Programmer Interface, Program Export'
  388.         
  389.                  Programmer Interface (BBS Screen)
  390.                  ---------------------------------
  391.                    This function of the Programmer interface skips all of 
  392.                    the questions detailed below, and simply requests the 
  393.                    name of the file to save. The formatting of the result 
  394.                    file, however, is very different from the result of 
  395.                    the Program export function!  The result file will NOT 
  396.                    be padded to 80 character lines (the same as the 
  397.                    'right trim' question below).  Blank lines will be 
  398.                    padded to 1 space.  The file will NOT be padded to 24 
  399.                    lines!  This function is useful for drawing bulletins, 
  400.                    messages, and main menu screens for BBS systems, Such 
  401.                    as are used in
  402.         
  403.                                    The Hacker Central BBS
  404.                                        (201)334-2555
  405.                                      300/1200/2400  8N1 
  406.                                           24 hours
  407.         
  408.                    (The preceding has been a blatant advertisement of  my 
  409.                               BBS)
  410.                    
  411.         
  412.                  Programmer Interface (Program export) 
  413.                  -------------------------------------
  414.         
  415.                    You are asked a number of questions in this section, a 
  416.                    detailed discussion follows.
  417.         
  418.                    Number Lines (Y/N):
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.         
  426.                    Do you wish to have each line of the screen image 
  427.                    numbered?  For instance, GWBASIC requires line num-
  428.                    bers, QUICKBASIC considers them optional, and C 
  429.                    doesn't want to consider the prospect of numbered 
  430.                    lines.  If you answer this question 'yes' you will be 
  431.                    asked for a starting number, and an increment between 
  432.                    line numbers. 
  433.         
  434.                    Next, the question 'Right Trim (Y/N)' will be dis-
  435.                    played.
  436.                    
  437.                    This is asking you if you wish to trim trailing blanks 
  438.                    from the right side of the screen image.  All other 
  439.                    formatting will work properly in either mode, this is 
  440.                    for people using non-standard width screens.
  441.         
  442.                    The message "DO NOT ENTER QUOTES FOR THE FOLLOWING 2 
  443.                    QUESTIONS" will be displayed.  If you are working in 
  444.                    BASIC or a similar language which requires PRINT 
  445.                    statements to be quoted, DO NOT type quotes (") here! 
  446.                    I have no idea what will happen if anyone enters 
  447.                    quotes here, but I can guarantee that the program WILL 
  448.                    malfunction.
  449.         
  450.                    The message 'The '^" character will be replaced with 
  451.                    the physical line number in the following statements.' 
  452.                    will display.  This is intended for languages support-
  453.                    ing a 'print at location' statement.  Entering a caret 
  454.                    (^) in either of the next two lines will create a file 
  455.                    formatted as you request,  with the caret (^) being 
  456.                    replaced by the physical line number for each line of 
  457.                    the screen image.
  458.         
  459.                    Example:
  460.                       page=0:row=^:col=4:scrmode=1:st$=
  461.                            will produce a file formatted thus;
  462.                            page=0:row=1-25:col=4:scrmode=1:st$=   etc.
  463.         
  464.                    The message 'Begin lines with:' will be displayed, 
  465.                    this is the programming language statement you wish to 
  466.                    have each line begin with. for example,  if program-
  467.                    ming in BASIC, the answer would be 'PRINT'
  468.         
  469.                    ** Please note that Compound statements under Basic 
  470.                    ARE supported.
  471.         
  472.                    The message 'End lines with:' will be displayed, this 
  473.                    is the programming language statement you wish to have 
  474.                    each line end with. for example, in C you could use 
  475.                    this capability in PRINTF statements.
  476.         
  477.                    ** Please note that Compound statements under Basic 
  478.                    ARE supported.
  479.         
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.         
  487.                    Next you will be asked for;
  488.                    'Offset from top for line counter metacharacter (0 = 
  489.                    none)'
  490.                    
  491.                    This rather indecipherable message relates back to the 
  492.                    caret (^) we discussed above.  Normally the lines will 
  493.                    be numbered 1 to 25.  If, for some reason, you need 
  494.                    them numbered 5 to 30, enter an offset of 5.  In 
  495.                    short, this is the number you wish added to the physi-
  496.                    cal line number in your output file.
  497.         
  498.                    (The curious may wish to know why I phrased this 
  499.                    question in this fashion.  The answer is that my XENIX 
  500.                    is showing.)
  501.         
  502.         
  503.                    Next you will be asked if you need to have screen 
  504.                    lines quoted, this is a yes/no question.  The opening 
  505.                    quotes will be inserted AFTER the 'begin lines with' 
  506.                    field , and the closing quotes will be inserted BEFORE 
  507.                    the 'end lines with' field.  (BASIC programmers, the 
  508.                    answer is YES)
  509.         
  510.                    The last question you will be asked is for the name of 
  511.                    the file you wish to save the formatted screen image 
  512.                    in.  If you supply the name of a file that already 
  513.                    exists, it will be OVERWRITTEN.
  514.         
  515.                    If you enter a filename longer than 12 characters, you 
  516.                    will be asked to try again.  If you press <ENTER> 
  517.                    without entering any filename, you will be returned to 
  518.                    the Main Editor Screen. The files are saved as normal 
  519.                    ASCII text files, so you should be able to edit them 
  520.                    with any word processor.
  521.         
  522.         
  523.                  F5 -  Intersection mode
  524.                  -----------------------
  525.                  Intersection mode is designed to place an 'intersection' 
  526.                  character at the current cursor position.  The way it 
  527.                  works is:
  528.         
  529.                    1) Position the cursor where you want an intersection.
  530.                    2) Press the F5 key.
  531.                    3) Press any one of the following keys;
  532.         
  533.                    w, W, a, A, s, S, z, Z, x, X        
  534.         
  535.                    (This is going to be a little difficult.....)
  536.         
  537.                       Visualize the WASZ diamond on your keyboard as 
  538.                       being representative of the four sides of a square. 
  539.                       Lower case supplies single line intersections 
  540.                       appropriate to the side of the square being repre-
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.                       sented by the appropriate key, upper case gives 
  548.                       double lines.  The x or X key does a 'four way' 
  549.                       intersection.  I suggest a little experimentation.
  550.         
  551.                  F6 - Line Draw Mode
  552.                  -------------------
  553.                    The function keys used from this menu are:
  554.         
  555.                    F1             Line Draw Help
  556.                    F2             Single / Double Line Toggle
  557.                    F3             Pen Up / Down Toggle
  558.                    F4             Redraw the Screen
  559.                    F5             Intersection Mode 
  560.                    F10            Return to the Main Editor Screen
  561.         
  562.                  All of the cursor arrow keys work normally (SEE NOTE 
  563.                  BELOW), as do the backspace, tab, return, insert and 
  564.                  delete keys.  The other keys that work here are:
  565.         
  566.                  <Alt>+<R>            Pops up a ruler line on whatever
  567.                                       line the cursor is currently on.  
  568.                                       This WILL NOT Destroy the screen 
  569.                                       contents.  To get rid of the ruler 
  570.                                       and restore your screen, just do a 
  571.                                       'Screen Redraw'.
  572.         
  573.                  <CTRL>+<A>           Erase to the left of the cursor.
  574.         
  575.                  <CTRL>+<S>           Erase to the right of the cursor.
  576.         
  577.                  <CTRL>+<W>           Erase to the top of the cursor.
  578.         
  579.                  <CTRL>+<Z>           Erase to the bottom of the cursor.
  580.         
  581.                  NOTE:  The cursor keys work as marked when the pen is 
  582.                  UP.  When the pen is down, a line of the selected type 
  583.                  is drawn by the cursor.
  584.         
  585.                  F1 - Line Draw Help
  586.                    This key is used to provide a quick reference to the 
  587.                    Line Draw Screen.
  588.         
  589.                  F2 - Single / Double Line Toggle
  590.         
  591.                    This key toggles between single line (-) and double 
  592.                    line (=) mode. Note that the function key line changes 
  593.                    to indicate what pressing the toggle key WILL do, not 
  594.                    the current status of the toggle key.
  595.         
  596.                  F3 - Pen Up / Down Toggle
  597.         
  598.                    This key toggles between pen up (cursor movement) and 
  599.                    pen down (line drawing modes).  The lines are actually 
  600.                    drawn by moving the cursor (with the arrow keys) while 
  601.                    the pen is DOWN.  Appropriate corners will be supplied 
  602.                    automatically. (Well, within limits - the program is 
  603.                    not omniscient.)
  604.         
  605.                  F4 - Redraw the Screen
  606.         
  607.                    This  key  is used to redraw the screen after  a  RAM-
  608.                    resident  program has messed it up. It is also  useful 
  609.                    for getting rid of the ruler line.
  610.         
  611.                  F5 - Intersection mode
  612.         
  613.                    Intersection mode is designed to place an 'intersec-
  614.                    tion' character at the current cursor position.  The 
  615.                    way it works is:
  616.         
  617.                    1) Position the cursor where you want an intersection.
  618.                    2) Press the F5 key.
  619.                    3) Press any one of the following keys;
  620.         
  621.         
  622.                    w, W, a, A, s, S, z, Z, x, X        
  623.         
  624.                    (This is going to be a little difficult.....)
  625.         
  626.                    visualize the WASZ diamond on your keyboard as being 
  627.                    representative of the four sides of a square. Lower 
  628.                    case supplies single line intersections appropriate to 
  629.                    the side of the square being represented by the appro-
  630.                    priate key, upper case gives double lines.  The x or X 
  631.                    key does a 'four way' intersection.  I suggest a 
  632.                    little experimentation.
  633.         
  634.                  F10 - Return to main Editor Screen
  635.         
  636.                    This key returns you to the Main Edit Screen.
  637.         
  638.             F7 - Redraw the Screen
  639.             -----------------------
  640.                  This  key  is  used to redraw the screen  after  a  RAM-
  641.                  resident  program has messed it up.  It is  also  useful 
  642.                  for getting rid of the ruler line.
  643.         
  644.             F8 - Graphics Mode 
  645.             ------------------
  646.         
  647.                  This key toggles between 'TEXT' and 'GRAPHICS' keyboard 
  648.                  mode.  Note that the function key line changes to indi-
  649.                  cate what pressing the toggle key WILL do, not the 
  650.                  current status of the toggle key.
  651.         
  652.         
  653.             F9 - Clear Screen and Restart the Program 
  654.             ------------------------------------------ 
  655.         
  656.                  This key clears the screen and restarts the program.
  657.         
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.             F10 - Exit the Program
  665.             ----------------------
  666.                    This key is used to exit the program.
  667.         
  668.                    As of Ver 2.11, You will be asked if you have saved 
  669.                    the screen currently displayed. This is a Yes or NO 
  670.                    (Y/N) question.  If you answer yes, the program will 
  671.                    exit.  If the answer is no, you will be asked for the 
  672.                    filename you wish to save the screen in.  The screen 
  673.                    will then be saved and the program will then exit.
  674.         
  675.         
  676.         
  677.             Technical Appendix:
  678.             -------------------
  679.         
  680.                  The graphics characters produced by SCREEN DESIGNER are 
  681.                  the extended ASCII character set incorporated in every 
  682.                  video board as part of the standard (as defined by IBM) 
  683.                  character set.  On a CGA, EGA, PGA or other color board, 
  684.                  SCREEN DESIGNER does not operate in the GRAPHICS mode, 
  685.                  but rather in TEXT mode.  This allows the graphics 
  686.                  created by SCREEN DESIGNER to work properly on any type 
  687.                  of computer / video system.
  688.         
  689.                  All files produced by SCREEN DESIGNER are standard ASCII 
  690.                  text files, with no tokenization.  You can edit any of 
  691.                  the image files you create with an ASCII word processor, 
  692.                  such as WORDSTAR in NON-document mode, or the editors in 
  693.                  Turbo Pascal and QuickBasic.
  694.         
  695.                  The files created are 24 records long, with 80 charac-
  696.                  ters per record.  
  697.         
  698.             PLEASE NOTE:   If you use column 80 for your screen design,
  699.                            be advised that there is a bug involving the 
  700.                            video systems ability (indeed, a desire) to 
  701.                            wrap to the next line.  SCREEN DESIGNER at-
  702.                            tempts to handle this problem with column 80 
  703.                            for you, but it will probably turn out 
  704.                            strangely.  I advise that you design your 
  705.                            screens to use columns 1-79, and ignore column 
  706.                            80 entirely.
  707.         
  708.             If you attempt to read in a file that contains either short 
  709.             lines (less then 80 characters) or short files (less than 24 
  710.             records) SCREEN DESIGNER will pad the records to the requi-
  711.             site length & number.
  712.         
  713.             This program is written in Microsoft QuickBasic 4.5, and 
  714.             makes use of the 'event trapping' features of that language.  
  715.             Attempting to use a RAM-resident program, such as Sidekick 
  716.             (tm), while running SCREEN DESIGNER may produce strange 
  717.             results.
  718.         
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.             I have attempted to make this program as portable as possi-
  726.             ble.  The screen redraw is a little slow, but keep in mind 
  727.             that SCREEN DESIGNER should work on 98% & 99% compatibles as 
  728.             well as 100% compatibles, and under Windows (tm) and Double-
  729.             Dos (tm).  I felt that the compromise was worth it.
  730.         
  731.         
  732.                  SCREEN DESIGNER has been tested on the following comput-
  733.                  er systems:
  734.                  (machine types are listed generically, to avoid having 
  735.                  to list three pages of trademark credits)
  736.                            AT with CGA
  737.                            AT with EGA
  738.                            AT with monochrome
  739.                            XT with monochrome graphics
  740.                            XT with CGA
  741.                            XT with Hercules 
  742.                            386 with VGA
  743.         
  744.         
  745.                            These systems were run under various versions 
  746.                            of MS-DOS (tm), from  2.11 through 3.2. and 
  747.                            PC-DOS (tm) 3.3
  748.         
  749.         
  750.         
  751.             Miscellaneous Notes and Release History:
  752.         
  753.             I'd like to take this opportunity to thank Anthony Scriffig-
  754.             nano, whose program  'CHART'  inspired SCREEN DESIGNER.
  755.         
  756.             I'd also like to thank the system operator of the Software 
  757.             Society BBS (Sparta NJ) for his willingness to put up with my 
  758.             inability to upload the right file the first time (EVER!).  I 
  759.             got the idea for the intersection mode from his main menu.
  760.         
  761.             And, last but not least, I want to thank my wife, Evelyne 
  762.             Stalzer, for tolerating my living at this computer while I 
  763.             wrote SCREEN DESIGNER, and for editing the documentation.
  764.         
  765.         
  766.         
  767.         
  768.             Revision History:
  769.         
  770.             Version .99
  771.             The boxer goes berserk, no line draw mode
  772.         
  773.             Version 1.00
  774.             Beta testing: added corrections for short files & short 
  775.             records, added ruler line, added blank left, right, up & down 
  776.             feature.  (I'll get even with John someday..)
  777.         
  778.             Version 1.45
  779.             The virtual screen wins the battle, but I win the war....
  780.             Where is the cursor going ?, started docs.  figured out the 
  781.             boxer bug, added interlock so up left MUST be above & left of 
  782.             lower right (good morning stupid)
  783.         
  784.         
  785.             Version 1.75
  786.             I  found the cursor, rewrite the logical to  physical  screen 
  787.             connection.  (AGAIN!)
  788.         
  789.             Version 2.0
  790.             First Release to the public (Software Society BBS)
  791.         
  792.             2 Days later.....
  793.         
  794.             Version 2.02
  795.             Killed the idea of delay loops in the title display, made it 
  796.             a 'hit a key'.
  797.         
  798.             Version 2.03
  799.             Not released pending $, found minor bug in line draw, on line 
  800.             24, going right to left, cursor goes to top of screen. fixed 
  801.             same.
  802.         
  803.             Version 2.04
  804.             Incorporates 2.03 fix and a correction to the virtual-physi-
  805.             cal cursor link.
  806.         
  807.             Version 2.10
  808.             added  intersection  mode, also remapped all F keys  in  draw 
  809.             mode at suggestion of Sid K.
  810.         
  811.             Version 2.11
  812.             At the suggestion of Sid (and original design notes, which I 
  813.             finally found on my desk!) added check for save during exit 
  814.             sequence.
  815.         
  816.             Version 2.30
  817.             Added Trim right and line counter metacharacter to the pro-
  818.             grammer interface. also added offset from top for counter 
  819.             meta.  Rewrote whole programmer interface (internal).  As 
  820.             test, rewrote all help screens using new programmer interface 
  821.             and PROBAS (tm) windowmanager.  New screens only available on 
  822.             color systems, maintaining support for mono systems.
  823.         
  824.             Version 2.33
  825.             Corrected garbage character pickup on exiting 'help' with a 
  826.             function key (Joey DeS).  Added the video mode force feature 
  827.             at request of Chuck A. (sysop of Chuck's attempt), fixed 
  828.             comma bug in programmer interface (Vic LaG.)  
  829.         
  830.             Version 2.35
  831.             Corrected  minor bug in video mode force  routine.   Reworked 
  832.             the way that the INSERT and DELETE keys work.  compile/linked 
  833.             using  OPTCALL  (Public Domain, Copyright  1988,  Michael  W. 
  834.             Cocke)  which  reduced the size of the Executable  file  from 
  835.             over 140K to about 114K.
  836.         
  837.  
  838.             Version 2.37
  839.             Added command line facility to enter name of existing file to 
  840.             load for editing.  Added the 'BBS Screen' function to the 
  841.             programmers interface.     
  842.         
  843.  
  844.             Version 2.39
  845.             Corrected two (actually two and one half) bugs in the command 
  846.             line file load ability.  Non-existant files are now handled 
  847.             properly, and loading a new file from the file menu, after 
  848.             having loaded a file from the command line now works.  the 
  849.             'half bug' was in the way the screen displayed the 'loading' 
  850.             message during startup. it worked, but looked sloppy.        
  851.         
  852.             Version 2.75
  853.             Rewrote  entire  graphics mode,  reworked  graphics  keyboard 
  854.             mode, got mixed mode graphics keyboard to work, almost  broke 
  855.             1  screen barrier, but decided against it on basis of  effort 
  856.             required/registrations  received,   combined  separate   help 
  857.             screens  for  mono & color modes into one  multimode  system, 
  858.             cleaned up main help screens, moved more keystrokes away from 
  859.             the  event  handlers  and back to  keyboard  scanning,  added 
  860.             facility  to  save  under name most  recently  loaded  under. 
  861.             rewrote docs using new version of Wordstar (tm)
  862.         
  863.             Version 2.77
  864.             Tracked down & killed obscure bug in programmers mode, BBS 
  865.             Screen subfunction:  if a certain sequence of operations had
  866.             been performed during editing, garbage would be written to the
  867.             last 3 lines of the saved file.   Added facility to save under
  868.             most recently loaded filename to programmers mode.
  869.  
  870.          
  871.         
  872.         
  873.             It is the policy of MWC Enterprises (Me) to implement REGIS-
  874.             TERED user requests (where possible) in ALL shareware 
  875.             products.  If you have a suggestion, LET ME KNOW!  (If you 
  876.             aren't registered, REGISTER!)  It is a hope (not a policy, 
  877.             but what do you want?) to implement user suggestions in 
  878.             Public Domain Software.
  879.         
  880.         
  881.          IBM is a registered trademark of International Business 
  882.          Machines Corp. 
  883.          Turbo Pascal is a registered trademark of Borland International. 
  884.          QuickBasic is a registered trademark of Microsoft, Inc. 
  885.          Wordstar is a registered trademark of Micropro International Corp. 
  886.          MS-DOS is a registered trademark of Microsoft, Inc. 
  887.          PC-DOS is a registered trademark of International Business 
  888.          Machines Corp.
  889.         
  890.         
  891.